radeonsi vaapi mpeg2 decode slightly corrupt or asserts.
https://bugs.freedesktop.org/show_bug.cgi?id=93760
Bug ID: 93760
Summary: radeonsi vaapi mpeg2 decode slightly corrupt or
asserts.
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Created attachment 121114
--> https://bugs.freedesktop.org/attachment.cgi?id=121114&action=edit
assert
I mentioned in a mail that I noticed mpeg2 vaapi decode was slightly corrupt - more noticeable on some samples than others.
While testing with mesa built with --enable-debug I can't even run - getting an assert.
FWIW I am currently on an unstable agd5f drm-next with pp on and while running a non asserting mesa to look at the corruption I just hard locked - just luck I guess as powerplay does sometimes lock - but I got a trace, which doesn't always happen so attaching that as well.
The dirty is patches from -
https://bugs.freedesktop.org/show_bug.cgi?id=93721
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93760
--- Comment #1 from Andy Furniss <[email protected]> --- Created attachment 121115
--> https://bugs.freedesktop.org/attachment.cgi?id=121115&action=edit
lock hung task trace
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93760
--- Comment #2 from Andy Furniss <[email protected]> ---
Time moves on - I can't actually lock (so far) testing now, but output is still corrupt.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93760
--- Comment #3 from Christian König <[email protected]> --- Sorry totally missed that bug.
The problem is most likely that GStreamer sends multiple slices in one request to VA-API and we can't handle that in the state tracker.
Should be easy to fix actually, but we need somebody to look into it and reproduce this.
Another task for Nayan maybe?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93760
--- Comment #4 from Nayan Deshmukh <[email protected]> --- I can reproduce the issue. I will look more into this over the weekend and also read more about VA-API.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93760
--- Comment #5 from Andy Furniss <[email protected]> --- (In reply to Christian König from comment #3)
Quoted 4 lines
Sorry totally missed that bug.
The problem is most likely that GStreamer sends multiple slices in one request to VA-API and we can't handle that in the state tracker.
Though it seems gstreamer also has issues, I only first tried it today. This bug is testing with mpv.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93760
Andy Furniss <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #121115|0 |1
is obsolete| |
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93760
--- Comment #6 from Nayan Deshmukh <[email protected]> --- (In reply to Christian König from comment #3)
Quoted 8 lines
Sorry totally missed that bug.
The problem is most likely that GStreamer sends multiple slices in one request to VA-API and we can't handle that in the state tracker.
Should be easy to fix actually, but we need somebody to look into it and reproduce this.
What changes do we need to make to handle multiple slices? The video plays fine with vdpau. Can you point me to the code where vdpau handles multiple slices as both of them share similar code path.
Quoted 1 line
Another task for Nayan maybe?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93760
--- Comment #7 from Christian König <[email protected]> --- Take a look at vlVaHandleSliceParameterBufferMPEG12 and the assert.
We probably just need to handle the case of multiple buffers here and in handleVASliceDataBufferType.
The later is a bit tricky, since you need to search all slice buffers for the start code and call begin_frame() only once even when you get multiple buffers and/or calls to that function.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93760
Nayan Deshmukh <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|[email protected] |[email protected]. |.org |org QA Contact|[email protected] |[email protected]. |.org |org
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel